package com.bean;

import java.util.List;

public class MyCourseBean2 {


    /**
     * code : 1
     * msg : 成功
     * time : 1594125787
     * data : {"total":3,"per_page":"20","current_page":1,"last_page":1,"data":[{"id":232,"course_id":1,"name":"测试Demo0","title":"测试Demo0","end_time":1593139804,"image":"https://oss.bigchun.com/fastmemory/uploads/20200428/b2eaacc167c0ddee99052f75ae28da9a.png","type":2},{"id":282,"course_id":18,"name":"梳理全部题型","title":"梳理全部课程副标题","end_time":1593504772,"image":"https://oss.bigchun.com/fastmemory/uploads/20200611/fb96173b156b04daae428a6883511433.jpg","type":2},{"id":309,"course_id":22,"name":"影像速记（六上）","title":"影像速记六上语文","end_time":1598842624,"image":"https://oss.bigchun.com/fastmemory/uploads/20200622/fc3325f25012215d9a798fecc5842cdc.jpg","type":1}]}
     */

    private int code;
    private String msg;
    private String time;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 3
         * per_page : 20
         * current_page : 1
         * last_page : 1
         * data : [{"id":232,"course_id":1,"name":"测试Demo0","title":"测试Demo0","end_time":1593139804,"image":"https://oss.bigchun.com/fastmemory/uploads/20200428/b2eaacc167c0ddee99052f75ae28da9a.png","type":2},{"id":282,"course_id":18,"name":"梳理全部题型","title":"梳理全部课程副标题","end_time":1593504772,"image":"https://oss.bigchun.com/fastmemory/uploads/20200611/fb96173b156b04daae428a6883511433.jpg","type":2},{"id":309,"course_id":22,"name":"影像速记（六上）","title":"影像速记六上语文","end_time":1598842624,"image":"https://oss.bigchun.com/fastmemory/uploads/20200622/fc3325f25012215d9a798fecc5842cdc.jpg","type":1}]
         */

        private int total;
        private String per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getPer_page() {
            return per_page;
        }

        public void setPer_page(String per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 232
             * course_id : 1
             * name : 测试Demo0
             * title : 测试Demo0
             * end_time : 1593139804
             * image : https://oss.bigchun.com/fastmemory/uploads/20200428/b2eaacc167c0ddee99052f75ae28da9a.png
             * type : 2
             */

            private int id;
            private int course_id;
            private String name;
            private String title;
            private int end_time;
            private String image;
            private int type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getCourse_id() {
                return course_id;
            }

            public void setCourse_id(int course_id) {
                this.course_id = course_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getEnd_time() {
                return end_time;
            }

            public void setEnd_time(int end_time) {
                this.end_time = end_time;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}

